#include <iostream>
#include <iomanip>
using namespace std;


int main() {
    int a = 75;
    double b = 82;
    int* pA = &a;
    double* pB = &b;

    cout.setf(ios::left);

    // 不能用"\n", 必须用endl, 否则左对齐会失效
    cout << setw(14) << "变量" << setw(13) << "值" << "地址" << endl
        << setw(12) << "a" << setw(12) << a << &a << endl
        << setw(12) << "b" << setw(12) << b << &b << endl
        << setw(12) << "pA" << setw(12) << pA << &pA << endl
        << setw(12) << "pB" << setw(12) << pB << &pB << endl;
}